package test3;

/**
 * @PackageName: test3
 * @ClassName: Test2
 * @Author: chen jinxu
 * @Date: 2021/9/13 22:40
 * @Description: //TODO
 */
public class Test2 {
    public static void main(String[] args) {

        String s = "Let's take LeetCode2104 contest";
        String[] str_array = s.split(" ");
        for (int i = 0; i < str_array.length; i++) {
           str_array[i] = new StringBuilder(str_array[i]).reverse().toString();
        }
        String join = String.join(" ", str_array);
        System.out.println(join);
    }

}
